import request from '@/utils/request'

// 获取文章分类列表
export const getArticleCategoryList = params => request.get('/admin/articlecategory',{params})

// 删除文章分类
export const deleteArticleCategory = data => request.delete(`/admin/articlecategory/`,{data})

// 添加类目
export const addArticleCategory = data=> request.post('/admin/articlecategory/',data)

// 修改类目信息
export const editArticleCategory = (id,data)=> request.put(`/admin/articlecategory/${id}`,data)
